package com.beifu.manager.model;

import java.util.ArrayList;
import java.util.List;

public class AssetInfoExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public AssetInfoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andAssetBaseidIsNull() {
            addCriterion("asset_baseId is null");
            return (Criteria) this;
        }

        public Criteria andAssetBaseidIsNotNull() {
            addCriterion("asset_baseId is not null");
            return (Criteria) this;
        }

        public Criteria andAssetBaseidEqualTo(Integer value) {
            addCriterion("asset_baseId =", value, "assetBaseid");
            return (Criteria) this;
        }

        public Criteria andAssetBaseidNotEqualTo(Integer value) {
            addCriterion("asset_baseId <>", value, "assetBaseid");
            return (Criteria) this;
        }

        public Criteria andAssetBaseidGreaterThan(Integer value) {
            addCriterion("asset_baseId >", value, "assetBaseid");
            return (Criteria) this;
        }

        public Criteria andAssetBaseidGreaterThanOrEqualTo(Integer value) {
            addCriterion("asset_baseId >=", value, "assetBaseid");
            return (Criteria) this;
        }

        public Criteria andAssetBaseidLessThan(Integer value) {
            addCriterion("asset_baseId <", value, "assetBaseid");
            return (Criteria) this;
        }

        public Criteria andAssetBaseidLessThanOrEqualTo(Integer value) {
            addCriterion("asset_baseId <=", value, "assetBaseid");
            return (Criteria) this;
        }

        public Criteria andAssetBaseidIn(List<Integer> values) {
            addCriterion("asset_baseId in", values, "assetBaseid");
            return (Criteria) this;
        }

        public Criteria andAssetBaseidNotIn(List<Integer> values) {
            addCriterion("asset_baseId not in", values, "assetBaseid");
            return (Criteria) this;
        }

        public Criteria andAssetBaseidBetween(Integer value1, Integer value2) {
            addCriterion("asset_baseId between", value1, value2, "assetBaseid");
            return (Criteria) this;
        }

        public Criteria andAssetBaseidNotBetween(Integer value1, Integer value2) {
            addCriterion("asset_baseId not between", value1, value2, "assetBaseid");
            return (Criteria) this;
        }

        public Criteria andRfidCodeIsNull() {
            addCriterion("rfid_code is null");
            return (Criteria) this;
        }

        public Criteria andRfidCodeIsNotNull() {
            addCriterion("rfid_code is not null");
            return (Criteria) this;
        }

        public Criteria andRfidCodeEqualTo(String value) {
            addCriterion("rfid_code =", value, "rfidCode");
            return (Criteria) this;
        }

        public Criteria andRfidCodeNotEqualTo(String value) {
            addCriterion("rfid_code <>", value, "rfidCode");
            return (Criteria) this;
        }

        public Criteria andRfidCodeGreaterThan(String value) {
            addCriterion("rfid_code >", value, "rfidCode");
            return (Criteria) this;
        }

        public Criteria andRfidCodeGreaterThanOrEqualTo(String value) {
            addCriterion("rfid_code >=", value, "rfidCode");
            return (Criteria) this;
        }

        public Criteria andRfidCodeLessThan(String value) {
            addCriterion("rfid_code <", value, "rfidCode");
            return (Criteria) this;
        }

        public Criteria andRfidCodeLessThanOrEqualTo(String value) {
            addCriterion("rfid_code <=", value, "rfidCode");
            return (Criteria) this;
        }

        public Criteria andRfidCodeLike(String value) {
            addCriterion("rfid_code like", value, "rfidCode");
            return (Criteria) this;
        }

        public Criteria andRfidCodeNotLike(String value) {
            addCriterion("rfid_code not like", value, "rfidCode");
            return (Criteria) this;
        }

        public Criteria andRfidCodeIn(List<String> values) {
            addCriterion("rfid_code in", values, "rfidCode");
            return (Criteria) this;
        }

        public Criteria andRfidCodeNotIn(List<String> values) {
            addCriterion("rfid_code not in", values, "rfidCode");
            return (Criteria) this;
        }

        public Criteria andRfidCodeBetween(String value1, String value2) {
            addCriterion("rfid_code between", value1, value2, "rfidCode");
            return (Criteria) this;
        }

        public Criteria andRfidCodeNotBetween(String value1, String value2) {
            addCriterion("rfid_code not between", value1, value2, "rfidCode");
            return (Criteria) this;
        }

        public Criteria andVenderIdIsNull() {
            addCriterion("vender_id is null");
            return (Criteria) this;
        }

        public Criteria andVenderIdIsNotNull() {
            addCriterion("vender_id is not null");
            return (Criteria) this;
        }

        public Criteria andVenderIdEqualTo(Integer value) {
            addCriterion("vender_id =", value, "venderId");
            return (Criteria) this;
        }

        public Criteria andVenderIdNotEqualTo(Integer value) {
            addCriterion("vender_id <>", value, "venderId");
            return (Criteria) this;
        }

        public Criteria andVenderIdGreaterThan(Integer value) {
            addCriterion("vender_id >", value, "venderId");
            return (Criteria) this;
        }

        public Criteria andVenderIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("vender_id >=", value, "venderId");
            return (Criteria) this;
        }

        public Criteria andVenderIdLessThan(Integer value) {
            addCriterion("vender_id <", value, "venderId");
            return (Criteria) this;
        }

        public Criteria andVenderIdLessThanOrEqualTo(Integer value) {
            addCriterion("vender_id <=", value, "venderId");
            return (Criteria) this;
        }

        public Criteria andVenderIdIn(List<Integer> values) {
            addCriterion("vender_id in", values, "venderId");
            return (Criteria) this;
        }

        public Criteria andVenderIdNotIn(List<Integer> values) {
            addCriterion("vender_id not in", values, "venderId");
            return (Criteria) this;
        }

        public Criteria andVenderIdBetween(Integer value1, Integer value2) {
            addCriterion("vender_id between", value1, value2, "venderId");
            return (Criteria) this;
        }

        public Criteria andVenderIdNotBetween(Integer value1, Integer value2) {
            addCriterion("vender_id not between", value1, value2, "venderId");
            return (Criteria) this;
        }

        public Criteria andCurrentOrganizerIdIsNull() {
            addCriterion("current_organizer_id is null");
            return (Criteria) this;
        }

        public Criteria andCurrentOrganizerIdIsNotNull() {
            addCriterion("current_organizer_id is not null");
            return (Criteria) this;
        }

        public Criteria andCurrentOrganizerIdEqualTo(Integer value) {
            addCriterion("current_organizer_id =", value, "currentOrganizerId");
            return (Criteria) this;
        }

        public Criteria andCurrentOrganizerIdNotEqualTo(Integer value) {
            addCriterion("current_organizer_id <>", value, "currentOrganizerId");
            return (Criteria) this;
        }

        public Criteria andCurrentOrganizerIdGreaterThan(Integer value) {
            addCriterion("current_organizer_id >", value, "currentOrganizerId");
            return (Criteria) this;
        }

        public Criteria andCurrentOrganizerIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("current_organizer_id >=", value, "currentOrganizerId");
            return (Criteria) this;
        }

        public Criteria andCurrentOrganizerIdLessThan(Integer value) {
            addCriterion("current_organizer_id <", value, "currentOrganizerId");
            return (Criteria) this;
        }

        public Criteria andCurrentOrganizerIdLessThanOrEqualTo(Integer value) {
            addCriterion("current_organizer_id <=", value, "currentOrganizerId");
            return (Criteria) this;
        }

        public Criteria andCurrentOrganizerIdIn(List<Integer> values) {
            addCriterion("current_organizer_id in", values, "currentOrganizerId");
            return (Criteria) this;
        }

        public Criteria andCurrentOrganizerIdNotIn(List<Integer> values) {
            addCriterion("current_organizer_id not in", values, "currentOrganizerId");
            return (Criteria) this;
        }

        public Criteria andCurrentOrganizerIdBetween(Integer value1, Integer value2) {
            addCriterion("current_organizer_id between", value1, value2, "currentOrganizerId");
            return (Criteria) this;
        }

        public Criteria andCurrentOrganizerIdNotBetween(Integer value1, Integer value2) {
            addCriterion("current_organizer_id not between", value1, value2, "currentOrganizerId");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("`status` is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("`status` is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("`status` =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("`status` <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("`status` >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("`status` >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("`status` <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("`status` <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("`status` in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("`status` not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("`status` between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("`status` not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andCurrentPostionIsNull() {
            addCriterion("current_postion is null");
            return (Criteria) this;
        }

        public Criteria andCurrentPostionIsNotNull() {
            addCriterion("current_postion is not null");
            return (Criteria) this;
        }

        public Criteria andCurrentPostionEqualTo(String value) {
            addCriterion("current_postion =", value, "currentPostion");
            return (Criteria) this;
        }

        public Criteria andCurrentPostionNotEqualTo(String value) {
            addCriterion("current_postion <>", value, "currentPostion");
            return (Criteria) this;
        }

        public Criteria andCurrentPostionGreaterThan(String value) {
            addCriterion("current_postion >", value, "currentPostion");
            return (Criteria) this;
        }

        public Criteria andCurrentPostionGreaterThanOrEqualTo(String value) {
            addCriterion("current_postion >=", value, "currentPostion");
            return (Criteria) this;
        }

        public Criteria andCurrentPostionLessThan(String value) {
            addCriterion("current_postion <", value, "currentPostion");
            return (Criteria) this;
        }

        public Criteria andCurrentPostionLessThanOrEqualTo(String value) {
            addCriterion("current_postion <=", value, "currentPostion");
            return (Criteria) this;
        }

        public Criteria andCurrentPostionLike(String value) {
            addCriterion("current_postion like", value, "currentPostion");
            return (Criteria) this;
        }

        public Criteria andCurrentPostionNotLike(String value) {
            addCriterion("current_postion not like", value, "currentPostion");
            return (Criteria) this;
        }

        public Criteria andCurrentPostionIn(List<String> values) {
            addCriterion("current_postion in", values, "currentPostion");
            return (Criteria) this;
        }

        public Criteria andCurrentPostionNotIn(List<String> values) {
            addCriterion("current_postion not in", values, "currentPostion");
            return (Criteria) this;
        }

        public Criteria andCurrentPostionBetween(String value1, String value2) {
            addCriterion("current_postion between", value1, value2, "currentPostion");
            return (Criteria) this;
        }

        public Criteria andCurrentPostionNotBetween(String value1, String value2) {
            addCriterion("current_postion not between", value1, value2, "currentPostion");
            return (Criteria) this;
        }

        public Criteria andWashNumIsNull() {
            addCriterion("wash_num is null");
            return (Criteria) this;
        }

        public Criteria andWashNumIsNotNull() {
            addCriterion("wash_num is not null");
            return (Criteria) this;
        }

        public Criteria andWashNumEqualTo(Integer value) {
            addCriterion("wash_num =", value, "washNum");
            return (Criteria) this;
        }

        public Criteria andWashNumNotEqualTo(Integer value) {
            addCriterion("wash_num <>", value, "washNum");
            return (Criteria) this;
        }

        public Criteria andWashNumGreaterThan(Integer value) {
            addCriterion("wash_num >", value, "washNum");
            return (Criteria) this;
        }

        public Criteria andWashNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("wash_num >=", value, "washNum");
            return (Criteria) this;
        }

        public Criteria andWashNumLessThan(Integer value) {
            addCriterion("wash_num <", value, "washNum");
            return (Criteria) this;
        }

        public Criteria andWashNumLessThanOrEqualTo(Integer value) {
            addCriterion("wash_num <=", value, "washNum");
            return (Criteria) this;
        }

        public Criteria andWashNumIn(List<Integer> values) {
            addCriterion("wash_num in", values, "washNum");
            return (Criteria) this;
        }

        public Criteria andWashNumNotIn(List<Integer> values) {
            addCriterion("wash_num not in", values, "washNum");
            return (Criteria) this;
        }

        public Criteria andWashNumBetween(Integer value1, Integer value2) {
            addCriterion("wash_num between", value1, value2, "washNum");
            return (Criteria) this;
        }

        public Criteria andWashNumNotBetween(Integer value1, Integer value2) {
            addCriterion("wash_num not between", value1, value2, "washNum");
            return (Criteria) this;
        }

        public Criteria andIsScrapIsNull() {
            addCriterion("is_scrap is null");
            return (Criteria) this;
        }

        public Criteria andIsScrapIsNotNull() {
            addCriterion("is_scrap is not null");
            return (Criteria) this;
        }

        public Criteria andIsScrapEqualTo(String value) {
            addCriterion("is_scrap =", value, "isScrap");
            return (Criteria) this;
        }

        public Criteria andIsScrapNotEqualTo(String value) {
            addCriterion("is_scrap <>", value, "isScrap");
            return (Criteria) this;
        }

        public Criteria andIsScrapGreaterThan(String value) {
            addCriterion("is_scrap >", value, "isScrap");
            return (Criteria) this;
        }

        public Criteria andIsScrapGreaterThanOrEqualTo(String value) {
            addCriterion("is_scrap >=", value, "isScrap");
            return (Criteria) this;
        }

        public Criteria andIsScrapLessThan(String value) {
            addCriterion("is_scrap <", value, "isScrap");
            return (Criteria) this;
        }

        public Criteria andIsScrapLessThanOrEqualTo(String value) {
            addCriterion("is_scrap <=", value, "isScrap");
            return (Criteria) this;
        }

        public Criteria andIsScrapLike(String value) {
            addCriterion("is_scrap like", value, "isScrap");
            return (Criteria) this;
        }

        public Criteria andIsScrapNotLike(String value) {
            addCriterion("is_scrap not like", value, "isScrap");
            return (Criteria) this;
        }

        public Criteria andIsScrapIn(List<String> values) {
            addCriterion("is_scrap in", values, "isScrap");
            return (Criteria) this;
        }

        public Criteria andIsScrapNotIn(List<String> values) {
            addCriterion("is_scrap not in", values, "isScrap");
            return (Criteria) this;
        }

        public Criteria andIsScrapBetween(String value1, String value2) {
            addCriterion("is_scrap between", value1, value2, "isScrap");
            return (Criteria) this;
        }

        public Criteria andIsScrapNotBetween(String value1, String value2) {
            addCriterion("is_scrap not between", value1, value2, "isScrap");
            return (Criteria) this;
        }

        public Criteria andUseNumIsNull() {
            addCriterion("use_num is null");
            return (Criteria) this;
        }

        public Criteria andUseNumIsNotNull() {
            addCriterion("use_num is not null");
            return (Criteria) this;
        }

        public Criteria andUseNumEqualTo(Integer value) {
            addCriterion("use_num =", value, "useNum");
            return (Criteria) this;
        }

        public Criteria andUseNumNotEqualTo(Integer value) {
            addCriterion("use_num <>", value, "useNum");
            return (Criteria) this;
        }

        public Criteria andUseNumGreaterThan(Integer value) {
            addCriterion("use_num >", value, "useNum");
            return (Criteria) this;
        }

        public Criteria andUseNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("use_num >=", value, "useNum");
            return (Criteria) this;
        }

        public Criteria andUseNumLessThan(Integer value) {
            addCriterion("use_num <", value, "useNum");
            return (Criteria) this;
        }

        public Criteria andUseNumLessThanOrEqualTo(Integer value) {
            addCriterion("use_num <=", value, "useNum");
            return (Criteria) this;
        }

        public Criteria andUseNumIn(List<Integer> values) {
            addCriterion("use_num in", values, "useNum");
            return (Criteria) this;
        }

        public Criteria andUseNumNotIn(List<Integer> values) {
            addCriterion("use_num not in", values, "useNum");
            return (Criteria) this;
        }

        public Criteria andUseNumBetween(Integer value1, Integer value2) {
            addCriterion("use_num between", value1, value2, "useNum");
            return (Criteria) this;
        }

        public Criteria andUseNumNotBetween(Integer value1, Integer value2) {
            addCriterion("use_num not between", value1, value2, "useNum");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}